package org.support.small.mallms.exception;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.With;

@With
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class I18NCodeException extends RuntimeException {
    private String code;

    public static I18NCodeException of(String code) {
        return new I18NCodeException(code);
    }
}
